export interface ProjectList {
  projectId: number;
  projectName: string;
  projectDesc: string;
  createTime: string;
  creator: string;
}

export interface ApiDetail {
  name: string;
  method: string;
  path: string;
  description: string;
  updated_time: string;
  updater_nickname: string;
  request_headers: any[];
  request_params: any[];
  response_params: any[];
  request_example?: string;
  response_example?: string;
  created_time?: string;
  creator_nickname?: string;
}

export type CurrentProjectListResponseData = ApiResponseData<ProjectList[]>;

export type CurrentApiDetailResponseData = ApiResponseData<ApiDetail>;
